
module.exports = {

  title: '3YData',
  /**
   * @type {boolean} true | false
   * @description Whether fix the header
   */
  fixedHeader: true,

  /**
   * @type {boolean} true | false
   * @description Whether show the logo in sidebar
   */
  sidebarLogo: true,
  // 微信登录回传地址

  // weChatURL: 'https%3A%2F%2F3ydata.com%2Fuser%2Fpersonal', //正式域名
  // weChatURL: 'http%3A%2F%2Ftest.3ydata.com%2Fuser%2Fpersonal', //测试域名
  // weChatURL: 'http%3A%2F%2F192.168.2.117%3A8081%2Fpersonal', //本地域名

  // loginURL: 'http%3A%2F%2F192.168.2.117%3A8080%2Flogin', //本地的微信登录回传地址
  // loginURL: 'https%3a%2f%2f3ydata.com%2Flogin', // 正式域名的微信登录回传地址

  weChatURL: 'https%3A%2F%2F3ydata.com%2Fuser%2Fpersonal', //正式域名
  // weChatURL: 'http%3A%2F%2Ftest.3ydata.com%2Fuser%2Fpersonal', //测试域名
  // weChatURL: 'http%3A%2F%2F192.168.2.117%3A8081%2Flogin', //本地域名

  // loginURL: 'http%3A%2F%2F192.168.2.117%3A8080%2Flogin', //本地的微信登录回传地址
  loginURL: 'https%3a%2f%2f3ydata.com%2Flogin', // 正式域名的微信登录回传地址

  // loginURL: 'http%3a%2f%2ftest.3ydata.com%2Flogin', //测试域名的微信登录回传地址


  socketURL: 'wss://cloud.3ydata.com/socket/',  //正式域名的
  // socketURL: 'ws://cloudtest.3ydata.com/socket/',  //测试域名的
  // socketURL: 'ws://192.168.2.110:9528/socket/',  //本地的
  putZFBURL: '',
  // echarts 图表类型切换  toolbox.feature.magicType.icon 的值；
  // avgCpaAmount: 平均激活成本
  // avgCpaCurrency: CPA货币
  // avgCptAmount:  平均点击成本
  // avgCptCurrency: CPT货币
  // conversionRate: 转化率
  // date: "2021-01-01"
  // impressions展示,
  // installs: 下载
  // latOffinstalls: 关闭广告追踪下载
  // latOninstalls: 0 开启广告追踪下载
  // localSpendAmount 花费
  // new_downloads新下载,
  // redownloads重复下载,
  // taps点击数,
  // ttr点击率
  echartsOptions: [{
      name: '总花费',
      val: 'localSpendAmount',
      fix: '$'
    }, {
      name: '展示',
      val: 'impressions'
    }, {
      name: '点击',
      val: 'taps'
    },
    {
      name: '安装',
      val: 'installs'
    },
    {
      name: 'CPT',
      val: 'avgCptAmount',
      fix: '$'
    },
    {
      name: 'CPA',
      val: 'avgCpaAmount',
      fix: '$'
    },
    {
      name: '点击率',
      val: 'ttr',
      fix: '%'
    },
    {
      name: '转化率',
      val: 'conversionRate',
      fix: '%'
    },

  ],


  // 图表折线的颜色
  colorList: ['#52C41A', '#1890FF', '#FAAD14', '#722ED1', '#FF4D4F','#13c2c2','#eb2f96'],


  // 时间选择的值
  timeChooseList: [{
      val: 'today',
      name: '今日'
    }, {
      val: 'yestoday',
      name: '昨日'
    }, {
      val: 'week',
      name: '本周',

    }, {
      val: '7day',
      name: '近7天'
    }, {
      val: 'month',
      name: '本月'
    },
    {
      val: 'year',
      name: '全年'
    }
  ],
  timeChooseListFinance: [
  {
    val: 'yestoday',
    name: '昨日'
  }, {
    val: 'week',
    name: '本周',

  }, {
    val: '7day',
    name: '近7天'
  }, {
    val: 'month',
    name: '本月'
  },
  {
    val: 'year',
    name: '全年'
  }
],

  // 时区选择的值
  timeList: [{
      label: 'UTC',
      country: 'UTC',
      timeZone: '-0',
      UTCZone: 0

    },
    {
      label: 'China',
      country: 'ORTZ',
      timeZone: '-8',
      UTCZone: 8
    },
    {
      label: 'Japan',
      country: 'JP',
      timeZone: '-9',
      UTCZone: 9
    },
    {
      label: 'Korea',
      country: 'KR',
      timeZone: '-9',
      UTCZone: 9
    },

    {
      label: 'Philippines',
      country: 'PH',
      timeZone: '-8',
      UTCZone: 8
    },
    {
      label: 'Singapore',
      country: 'SG',
      timeZone: '-8',
      UTCZone: 8
    },
    {
      label: 'Thailand',
      country: 'TH',
      timeZone: '-7',
      UTCZone: 7
    }, {
      label: 'India',
      country: 'IN',
      timeZone: '-5',
      UTCZone: 5.5
    },
    {
      label: 'Saudi_Arabia',
      country: 'SA',
      timeZone: '-3',
      UTCZone: 3
    },
    {
      label: 'AE',
      country: 'AE',
      timeZone: '-4',
      UTCZone: 4
    },

    {
      label: 'Israel',
      country: 'IL',
      timeZone: '-2',
      UTCZone: 2
    },
    // 北美洲
    {
      label: 'America',
      country: 'US',
      timeZone: '+6',
      UTCZone: -6
    },
    // 澳洲
    {
      label: 'Australia',
      country: 'AU',
      timeZone: '-9',
      UTCZone: 9.5
    },
    // 欧洲

    {
      label: 'France',
      country: 'FR',
      timeZone: '-1',
      UTCZone: 1
    },
    {
      label: 'Spain',
      country: 'ES',
      timeZone: '-1',
      UTCZone: 1
    },
    {
      label: 'Italy',
      country: 'IT',
      timeZone: '-1',
      UTCZone: 1
    },
    {
      label: 'UK',
      country: 'UK',
      timeZone: '-0',
      UTCZone: 0
    },
    {
      label: 'Germany',
      country: 'GE',
      timeZone: '-1',
      UTCZone: 1
    },
    {
      label: 'Russia',
      country: 'RU',
      timeZone: '-7',
      UTCZone: 7
    }

  ],
}
